package com.ecoolex.ying.space.core.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ecoolex.framework.common.pojo.Page;
import com.ecoolex.ying.space.core.mapper.UserFavoriteItemsMapper;
import com.ecoolex.ying.space.entity.UserFavoriteItems;

public interface UserFavoriteItemsDAO extends UserFavoriteItemsMapper {
	
	long countByUserId(@Param("userId") Integer userId);
	
	List<UserFavoriteItems> queryByUserId(@Param("userId") Integer userId,@Param("page") Page page);
}